const send = require('../email/index');
const formatError = require('./logger').format;
/**
 *
 * @param {object} error
 */
module.exports=error=>{
  send('1845767798@qq.com,1527860387@qq.com,sfbrywj@163.com,iamiy88@aliyun.com', `[${new Date().toJSON()}] node server error`, formatError(error), () => {
  });
}